//
//  PostResult.h
//  parkour-photomap-ib
//
//  Created by Ed Mancebo on 4/8/11.
//  Copyright 2011 Personal. All rights reserved.
//

#import <Foundation/Foundation.h>

// result from posting to flickr api
@interface PostResult : NSObject <NSXMLParserDelegate> {
	BOOL isOK;
	NSString *errorMessage;
	NSString *rawResponse;
	NSString *photoId;
	
	// private, for xml parsing
	BOOL inPhotoID;
}

@property (nonatomic, assign) BOOL isOK;
@property (nonatomic, retain) NSString *errorMessage;
@property (nonatomic, retain) NSString *rawResponse;
@property (nonatomic, retain) NSString *photoId;

- (void) populateFromXmlResponse:(NSString*)response;

@end